package com.zjp.pojo;

import lombok.ToString;

@ToString
public class Document {
    private Integer id;

    private String documentname;

    public Document(Integer id, String documentname) {
        this.id = id;
        this.documentname = documentname;
    }

    public Document() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDocumentname() {
        return documentname;
    }

    public void setDocumentname(String documentname) {
        this.documentname = documentname == null ? null : documentname.trim();
    }
}